import store from "@/store";

export const axios = (data: any, url: string) => {
  return store.dispatch(
    "getResponse",
    {
      url,
      method: "POST",
      value: JSON.stringify(data)
    });
};